package day0720API;

public class Test9 {
    public static void main(String[] args) {
        Integer i1=Integer.valueOf(1);
        Integer i2=new Integer(1);
        Integer i3=1;
        //自动装箱(自动封装：利用java底层代码valueOf将1封装到Integer对象中)


        int i4=new Integer(1);
        //自动拆箱(自动将对象中封装的数据取出来，用java底层的intValue方法取出对象的value属性值)

        byte  b1=Byte.MIN_VALUE;
        System.out.println(b1);

        byte  b2=Byte.MAX_VALUE;
        System.out.println(b2);

        short s1=Short.MIN_VALUE;
        short s2=Short.MAX_VALUE;
        System.out.println(s1+"::"+s2);

        int in1=Integer.MIN_VALUE;
        int in2=Integer.MAX_VALUE;
        System.out.println(in1+"::"+in2);

        System.out.println(Long.MIN_VALUE+"::"+Long.MAX_VALUE);

        System.out.println(Character.MIN_VALUE+""+Character.MAX_VALUE);
        System.out.println(Boolean.FALSE);

    }
}
